<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">

<head>
<title>Profiles Editor</title>
<link href="./css/styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div align="center">
		<div style="height: 100px;"></div>

		<div align="center" style="width: 700px;">
			<h:form>
				<fieldset>
					<br />
					<table>
						<tr>
							<td>First Name:</td>
							<td><h:inputText type="text"
									value="#{loginManageBean.account.firstName}" /></td>
						</tr>
						<tr>
							<td>Last Name:</td>
							<td><h:inputText type="text"
									value="#{loginManageBean.account.lastName}" /></td>
						</tr>
						<tr>
							<td>Email Address:</td>
							<td><h:inputText type="text"
									value="#{loginManageBean.account.emailAddress}" /><span
								style="color: red;">*</span></td>
						</tr>
						<tr>
							<td>Password:</td>
							<td><h:inputText type="text"
									value="#{loginManageBean.account.password}" /><span
								style="color: red;">*</span></td>
						</tr>
						<tr>
							<td>New Password:</td>
							<td><h:inputText type="text" value="#{loginManageBean.newPassword}" /></td>
						</tr>
						<tr>
							<td>Conf. New Password:</td>
							<td><h:inputText type="text" value="#{loginManageBean.newPasswordConfirm}" /></td>
						</tr>
						<tr>
							<td>Country:</td>
							<td><h:selectOneMenu value="#{loginManageBean.selectedCountry}" onchange="submit()" valueChangeListener="#{loginManageBean.localeChanged}">
									<f:selectItem itemValue="Cream Latte"
										itemLabel="Select a country" />

									<f:selectItems value="#{loginManageBean.listCountry}" />


								</h:selectOneMenu> City: <h:selectOneMenu>
									<f:selectItem itemValue="Cream Latte" itemLabel="Select a city" />
									<f:selectItems value="#{loginManageBean.listCity}" />
								</h:selectOneMenu></td>
						</tr>
						<tr>
							<td>Birthday:</td>
							<td><h:inputText type="text" value="" /></td>
						</tr>
						<tr>
							<td>Cellphone:</td>
							<td><h:inputText type="text" value="" /></td>
						</tr>
						<tr align="center">
							<td colspan="2"><br /> <br /> <h:button type="button"
									value="Accept Changes" /> <h:button type="button"
									value="Cancel" /><br /></td>
						</tr>
					</table>
				</fieldset>
			</h:form>

		</div>
	</div>
</body>
</html>